package com.haihui.platform.service.impl.dead;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.haihui.platform.dao.dead.DeadBaseInfoDao;
import com.haihui.platform.entity.DeadBaseInfo;
import com.haihui.platform.service.dead.DeadBaseInfoService;

@Service
public class DeadBaseInfoServiceImpl implements DeadBaseInfoService{

	@Autowired
	private DeadBaseInfoDao deadBaseInfoDao;
	
	@Override
	public List<DeadBaseInfo> list(DeadBaseInfo dead) {
		return deadBaseInfoDao.list(dead);
	}

	@Override
	public Integer add(DeadBaseInfo dead) {
		return deadBaseInfoDao.add(dead);
	}

	@Override
	public Integer update(DeadBaseInfo dead) {
		return deadBaseInfoDao.update(dead);
	}

	@Override
	public DeadBaseInfo detail(DeadBaseInfo dead) {
		return deadBaseInfoDao.detail(dead);
	}

	@Override
	public Integer count(DeadBaseInfo dead) {
		return deadBaseInfoDao.count(dead);
	}

	@Override
	public Integer delete(DeadBaseInfo dead) {
		return deadBaseInfoDao.delete(dead);
	}

}
